package com.lfs.admin.feign;

import com.alibaba.fastjson.JSONObject;
import com.lfs.interfaces.dto.ResultReturn;
import com.lfs.interfaces.model.NotifyModel;
import com.lfs.interfaces.model.dto.OrderDto;
import com.lfs.interfaces.model.vo.ChargeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name="lfs-charge")
public interface ChargeFeignService {

    /**
     * 发起充值请求
     * @param jsonObject
     * @return
     */
    @RequestMapping(value = "apiCharge/createCharge", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public ResultReturn<ChargeVo> createCharge(@RequestBody JSONObject jsonObject);
}
